package com.iot.ammeter.mapper.android.balance;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.iot.ammeter.dto.app.balance.BalanceUserInfoDTO;
import com.iot.ammeter.entity.android.balance.Balance;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * app端用户余额表 Mapper 接口
 * </p>
 *
 * @author yjx
 * @since 2021-10-24
 */

@Mapper
public interface BalanceMapper extends BaseMapper<Balance> {

    /**
     * 查询用户充值信息
     * @param email 邮箱号
     * @return
     */
    List<BalanceUserInfoDTO> selectBalanceInfo(@Param("email") String email);

}
